package com.tinem.platform.module.pojo.vo.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @program: platform
 * @description: ${description}
 * @author: eden#can
 * @Slogan: 没有所谓失败，除非你不再尝试
 * @date: 2022-01-08 19:22
 **/
@Data
@ApiModel("翻译体")
@AllArgsConstructor
@NoArgsConstructor
public class TranslateInfo {

    @NotBlank(message = "翻译的消息体不能为空")
    @ApiModelProperty(name = "msg", value = "翻译的消息体",required = true)
    String src;


    @ApiModelProperty(name = "tarMsg", value = "目标语言",required = true)
    String dst;

}
